/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package accountproject.model;

/**
 *
 * @author Amon
 */
public class Work {

    private String workText;
    private String measureUnit;

    public String getMeasureUnit() {
        return measureUnit;
    }

    public void setMeasureUnit(String measureUnit) {
        this.measureUnit = measureUnit;
    }

    public double getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(double unitPrice) {
        this.unitPrice = unitPrice;
    }

    public String getWorkText() {
        return workText;
    }

    public void setWorkText(String workText) {
        this.workText = workText;
    }
    private double unitPrice;

    public String getFieldsAsString() {
        String felder = "'" + getWorkText() + "'" + ", "
                + "'" + getMeasureUnit() + "'" + ", "
                + "'" + getUnitPrice() + "'";

        return felder;
    }
}
